﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("DCJDOrderDetail", "DCJDOrderDetail", new string[] { "ORDERDETAILID" })]
    [KnownType(typeof(DCJDOrderDetail))]
    public class DCJDOrderDetail//: MB.Orm.Common.BaseModel
    {
        public DCJDOrderDetail()
        {

        }
        //订单明细ID
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ORDERDETAILID", System.Data.DbType.Int32)]
        public int ORDERDETAILID { get; set; }
        //订单ID
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ORDERID", System.Data.DbType.Int32)]
        public int ORDERID { get; set; }
        //订单编码
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ORDERCODE", System.Data.DbType.String)]
        public string ORDERCODE { get; set; }
        //商品编码
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE { get; set; }
        //商品名称
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME { get; set; }
        //商品数量
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNUMBER", System.Data.DbType.Int32)]
        public int GOODSNUMBER { get; set; }
        //商品单价
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PRICE", System.Data.DbType.Decimal)]
        public decimal PRICE { get; set; }
        //状态(0:无效，1有效)
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("STATUS", System.Data.DbType.String)]
        public string STATUS { get; set; }
        //新增人编号
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OPRNO", System.Data.DbType.String)]
        public string OPRNO { get; set; }
        //创建时间
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime CREATEDATE { get; set; }
    }
}
